/**
 * Copyright &copy; 2012-2016 <a href="https://istep.lczyfz.com">Istep</a> All rights reserved.
 */
package com.lczyfz.istep.modules.resource.dao;

import com.lczyfz.istep.common.persistence.CrudDao;
import com.lczyfz.istep.common.persistence.annotation.MyBatisDao;
import com.lczyfz.istep.modules.resource.entity.ResourceCoursesystem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 课程体系DAO接口
 * @author dh
 * @version 2017-01-16
 */
@MyBatisDao
public interface ResourceCoursesystemDao extends CrudDao<ResourceCoursesystem> {

    //根据培训方案id获取课程体系
	List<ResourceCoursesystem> findCourseSystemById(@Param("trainProgramId")String trainProgramId,@Param("DEL_FLAG_NORMAL")String DEL_FLAG_NORMAL);
	//根据培训方案id查询课程体系列表
	List<ResourceCoursesystem> findPageByTrainprogramId(ResourceCoursesystem resourceCoursesystem);

	ResourceCoursesystem findCoursesystemByName(ResourceCoursesystem resourceCoursesystem);

}